package com.gh.pattern.observer.douyu;

import com.gh.pattern.observer.core.EventLisenter;

public class Zhubo extends EventLisenter {
    public void sing () {
        System.out.println("主播开始唱歌了");
        this.trigger(Zhubozaigansm.ON_SING);
    }

    public void dance () {
        System.out.println("主播开始跳舞了");
        this.trigger(Zhubozaigansm.ON_DANCE);
    }
}
